/**=========================================================
 * Module: constants.js
 * Define constants to inject across the application
 =========================================================*/
App.constant('APP_COLORS', {
    'primary':                '#5d9cec',
    'success':                '#27c24c',
    'info':                   '#23b7e5',
    'warning':                '#ff902b',
    'danger':                 '#f05050',
    'inverse':                '#131e26',
    'green':                  '#37bc9b',
    'pink':                   '#f532e5',
    'purple':                 '#7266ba',
    'dark':                   '#3a3f51',
    'yellow':                 '#fad732',
    'gray-darker':            '#232735',
    'gray-dark':              '#3a3f51',
    'gray':                   '#dde6e9',
    'gray-light':             '#e4eaec',
    'gray-lighter':           '#edf1f2'
}).constant('APP_MEDIAQUERY', {
    'desktopLG':             1200,
    'desktop':                992,
    'tablet':                 768,
    'mobile':                 480
}).constant('APP_REQUIRES', {
    // jQuery based and standalone scripts
    scripts: {
        'modernizr':          ['vendor/modernizr/modernizr.js'],
        'icons':              ['vendor/skycons/skycons.js',
                               'vendor/fontawesome/css/font-awesome.min.css',
                               'vendor/simple-line-icons/css/simple-line-icons.css'],
        'screenfull':         ['vendor/screenfull/dist/screenfull.js'],
        'ztree':              ['vendor/ztree/js/jquery.ztree.all-3.5.min.js',
                               'vendor/ztree/css/zTreeStyle/metro.css'],
        'sparkline':          ['vendor/sparkline/jquery.sparkline.min.js'], 
        'baidu-map':          ['vendor/baidu/map.js'],
        'baidu-map-heatmap':  ['vendor/baidu/Heatmap_min.js'],
        'classyloader':       ['vendor/jquery-classyloader/js/jquery.classyloader.js'],
        'whirl':              ['vendor/whirl/dist/whirl.min.css'],
        'echarts':            {name: 'echarts',
                               files:['vendor/echarts/dist/echarts.js',
                                      'vendor/echarts-custom/echarts-theme-custom.js'],serie:true},//按顺序加载
        'echarts-map':        ['vendor/echarts/map/js/china.js']
    },
    // Angular based script (use the right module name)
    modules: [  
        {name: 'toaster',                   files: ['vendor/angularjs-toaster/toaster.js',
                                                    'vendor/angularjs-toaster/toaster.css']},
        {name: 'ui.grid',                   files: ['vendor/angular-ui-grid/ui-grid.min.css']},  
        {name: 'ui.select',                 files: ['vendor/angular-ui-select/dist/select.css']},
        {name: 'ngDialog',                  files: ['vendor/ng-dialog/css/ngDialog.min.css',
                                                    'vendor/ng-dialog/css/ngDialog-theme-default.min.css']},
        {name: 'ladda',                     files: ['vendor/ladda/dist/ladda-themeless.min.css',
                                                    'vendor/ladda/dist/spin.min.js',
                                                    'vendor/ladda/dist/ladda.min.js',
                                                    'vendor/angular-ladda/dist/angular-ladda.min.js'], serie: true},
    ]
}).constant('BACKEND_PATH','http://192.168.199.148:8080')
// }).constant('BACKEND_PATH','http://opbackend.tanzhishuju.com')
;